package com.ecarx.module_udisk.upgrade.usb.msg.base;

import com.ecarx.module_udisk.upgrade.usb.msg.base.BaseMsg;
import com.google.gson.annotations.SerializedName;

public class ImageFlashReq extends BaseMsg {

    @SerializedName("os_type")
    private int osType; // 表示烧写目标OS，其可能值为0：UX OS， 1：Game OS， 2：Cluster OS
    @SerializedName("file_path")
    private String filePath; // image 更新文件在 IVI 挂载点的相关路径

    public ImageFlashReq(int msgId, long seq, String version, int osType, String filePath) {
        super(msgId, seq, version);
        this.osType = osType;
        this.filePath = filePath;
    }

    public ImageFlashReq(int msgId, long seq, int osType, String filePath) {
        super(msgId, seq);
        this.osType = osType;
        this.filePath = filePath;
    }


}
